package com.xk.order.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 加载雪花算法中的属性
 */
@Data
@ConfigurationProperties(prefix = "xk.worker")
public class IdWorkerProperties {

    private long workerId;

    private long dataCenterId;



}
